package org.testis.testdriver.validation;

import org.testis.testdriver.*;


/**
 * This class is used to make validation according to Test Case  
 * Startegy.
 * 
 * @author barisergun
 */
public class TestPartValidateTestCaseStrategy extends TestPartValidateStrategy
{

    public TestPartValidateTestCaseStrategy(TestPart inUse)
    {
        super(inUse);
    }


    @Override
    protected boolean validateIfToContinue(boolean partResult)
    {
        StepContainer caseContainer = (StepContainer) testPartInRun;

        caseContainer.getParent().andTestPartResult(caseContainer.
            getTestPartResult());

        return true;
    }


    
    
}
